package com.crm.service.impl.contractReviewManager;

import com.crm.dao.mapper.customMapper.contractReviewManager.RefundReviewCustomMapper;
import com.crm.model.qo.customerManager.CustomerOrderBackMoneyQO;
import com.crm.model.vo.customerManager.CustomerOrderBackMoneyVO;
import com.crm.service.contractReviewManager.RefundReviewDbService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 退款审核
 * @Author renshaorong
 * @Date 2021/8/26
 */
@Service
public class RefundReviewDbServiceImpl implements RefundReviewDbService {
    @Autowired
    private RefundReviewCustomMapper refundReviewCustomMapper;

    /**
     * 审核管理--退款审核列表
     * @param customerOrderBackMoneyQO ---退款审核列表查询参数
     * @param dateUnit             ---全部、今天、本周、本月查询条件
     * @return
     */
    @Override
    public List<CustomerOrderBackMoneyVO> selectRefundReviewList(CustomerOrderBackMoneyQO customerOrderBackMoneyQO, Integer dateUnit) {
        return refundReviewCustomMapper.selectRefundReviewList(customerOrderBackMoneyQO,dateUnit);
    }
}
